package com.aat.dizena.base.bean;

import java.io.Serializable;

public class Roleres  implements Serializable{
    private static final long serialVersionUID = 1L;
    private String id;
    private String roleId;
    private String ressId;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getRoleId() {
        return roleId;
    }

    public void setRoleId(String roleId) {
        this.roleId = roleId;
    }

    public String getRessId() {
        return ressId;
    }

    public void setRessId(String ressId) {
        this.ressId = ressId;
    }

    public int hashCode() {
        final int prime = 31;
        int result = 1;
        result = prime * result + ((id == null) ? 0 : id.hashCode());
        return result;
    }

    public boolean equals(Object obj) {
        if (this == obj)
            return true;
        if (obj == null)
            return false;
        if (getClass() != obj.getClass())
            return false;
        Roleres other = (Roleres) obj;
        if (id == null) {
            if (other.id != null)
                return false;
        } else if (!id.equals(other.id))
            return false;
        return true;
    }

    public String toString() {
       return "Roleres [id="+ id +"]";
    }

}
